package com.yuandian.business.monitor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.business_monitor.po.AlarmParams;
import com.yuandian.api.business_monitor.po.ItSegmentDataParams;
import com.yuandian.api.business_monitor.po.SegmentOverviewParams;
import com.yuandian.api.business_monitor.vo.NetworkElement;
import com.yuandian.api.business_monitor.vo.NetworkElementTop;
import com.yuandian.api.business_monitor.vo.SegmentDetailVo;
import com.yuandian.api.business_monitor.vo.SegmentOverviewVo;

import java.util.List;

/**
 * 说明：IT端信息service接口
 * @Author yanjun
 * @Date 2020/9/21 15:29
 */
public interface ISegmentService {

    /**
     * 查询网端告警类型占比数据
     *
     * @param params 参数
     * @return 通用返回对象
     */
	List<SegmentOverviewVo> querySegmentAlarmProportion(AlarmParams params);

	/**
	 * 查询端运行详情数据
	 * @param params It路径图端查询参数对象
	 * @return 端运行详情vo对象集合
	 */
	List<SegmentDetailVo> querySegmentDetail(ItSegmentDataParams params);

	Page<NetworkElement> queryNetworkElementBysegmentId(SegmentOverviewParams params);

	NetworkElementTop queryNetworkElementTop(SegmentOverviewParams params);
}
